"""
使用给定的1 2 3 4能组成多少个互不相同且无重复的三位数？
"""

numbers = [1, 2, 3, 4]
three_digit_numbers = []
for i in numbers:
    for j in numbers:
        for k in numbers:
            if i != j and j != k and i != k:
                three_digit_numbers.append(100 * i + 10 *j + k)


print('可以组成的三位数有：')
print(three_digit_numbers)
